home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / MPW Related / MPW Interfaces / CIncludes / Scrap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-17  |  876 b   |  52 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Scrap.h
  3.  
  4.     Copyright:    © 1983-1993 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Version:    System 7.1 for ETO #11
  8.     Created:    Tuesday, March 30, 1993 18:00
  9.  
  10. */
  11.  
  12. #ifndef __SCRAP__
  13. #define __SCRAP__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. #endif
  18.  
  19.  
  20. struct ScrapStuff {
  21.     long scrapSize;
  22.     Handle scrapHandle;
  23.     short scrapCount;
  24.     short scrapState;
  25.     StringPtr scrapName;
  26. };
  27.  
  28. typedef struct ScrapStuff ScrapStuff;
  29. typedef ScrapStuff *PScrapStuff;
  30.  
  31.  
  32. #ifdef __cplusplus
  33. extern "C" {
  34. #endif
  35. pascal PScrapStuff InfoScrap(void)
  36.     = 0xA9F9; 
  37. pascal long UnloadScrap(void)
  38.     = 0xA9FA; 
  39. pascal long LoadScrap(void)
  40.     = 0xA9FB; 
  41. pascal long GetScrap(Handle hDest,ResType theType,long *offset)
  42.     = 0xA9FD; 
  43. pascal long ZeroScrap(void)
  44.     = 0xA9FC; 
  45. pascal long PutScrap(long length,ResType theType,Ptr source)
  46.     = 0xA9FE; 
  47. #ifdef __cplusplus
  48. }
  49. #endif
  50.  
  51. #endif
  52.